import request from '@/utils/request'

// 查询仓库库存预警列表.
export function listByQuantity(query) {
  return request({
    url: '/mes/wm/warehouse/inventory/listByQuantity',
    method: 'get',
    params: query
  })
}

// 查询仓库滞留预警列表.
export function listByDate(query) {
  return request({
    url: '/mes/wm/warehouse/inventory/listByDate',
    method: 'get',
    params: query
  })
}
